var Shreeji_dailymotion_ads_url = "http://shineads.net/shads/ad_vid.aspx?pubid=vishnushreeji";//"http://adf.ly/Hq2Tc";
var Shreeji_dailymotion_ads_img = "http://publishers.shineads.net/user/img/player.jpg";

////http://code.google.com/p/shreejiplayar/source/browse/images/player.jpg

//<a href="http://shineads.net/shads/ad_vid.aspx?pubid=vishnushreeji"> <img height=410 width=580 src="http://publishers.shineads.net/user/img/player.jpg"/></a>

if (typeof Shreeji_dailymotion != "undefined") {
    if (Shreeji_dailymotion == "shreeji") {

        document.write('<a href="' + Shreeji_dailymotion_ads_url + '" target="_blank"><img border="0" height="400" src="' + Shreeji_dailymotion_ads_img + '" width="590" /></a>');

    } else {
        //dailymotion = Shreeji_dailymotion;
        var dailymotion = Shreeji_dailymotion;
        //?autoplay=0&logo=1&hideInfos=0&start=0&syndication=113193&foreground=&highlight=&background=
        //dailymotion = "http://www.dailymotion.com/embed/video/"+ dailymotion +"?autoplay=0&logo=0&hideInfos=1&start=0&syndication=113193&foreground=&highlight=&background=";
        //document.write('<iframe frameborder="0" width="590" height="355" src="' + dailymotion + '"></iframe>');
        dailymotion = "http://www.dailymotion.com/embed/video/" + dailymotion ;
        //document.write('<iframe frameborder="0" width="590" height="355" src="' + dailymotion + '?syndication=113193&autoplay=0&logo=1&hideInfos=1&foreground=&highlight=&background= "></iframe>');

        document.write('<iframe frameborder="0" width="590" height="355" src="' + dailymotion + '?syndication=113193&hideInfos=1&logo=1&autoplay=1"></iframe>');

    }
};


//if (typeof Shreeji_dailymotion != "undefined") {
//        dailymotion = Shreeji_dailymotion;
////        dailymotion = "http://www.dailymotion.com/swf/" + dailymotion + "?forcedQuality=hq&hideInfos=1";
//        dailymotion = "http://www.dailymotion.com/swf/" + dailymotion + "?autoplay=1&logo=1&hideInfos=1&start=0&syndication=113193&foreground=&highlight=&background=";

//    };
//        var vido_dailymotion = ('<object width="590" height="355">' +
//        '<param name="movie" value=' + dailymotion + ' ></param>' +
//        '<param name="allowfullscreen" value="true">' +
//        '<param name="allownetworking" value="internal">'+
//        '<param name="wmode" value="transparent"></param>' +
//        '<param name="allowScriptAccess" value="always"></param>' +
//        '<embed src=" ' + dailymotion + ' type="application/x-shockwave-flash" width="590" height="355" allowfullscreen="true" allownetworking="internal" />' +
//        ' </object> ');
//        document.write(vido_dailymotion);

//******************************************************************************************************//
//var actionAdd;
if (i != 1) {
    var i = 0;
    
};

if (i == 0) {
    var add = ('<center>' +
        '    <div id="message0" style="display:inherit; position:absolute; margin-left:150px; margin-top:-320px; width:300px; height:265px; z-index:0;">' +
        '    <div style="margin-top:0%" align="center"></div>' +
        '        <div style="position:absolute; top:0px; left:-10px; height:280px; width:336px" id="floatLayer0">' +
        '        <script language="javascript" type="text/javascript" src="http://shreeji-ads.googlecode.com/svn/All_Ads-300-250.js"></script>' +
        '        <div style="position: absolute; left:285px; top: 2px; width: 51px; height: 25px;"><a href="http://ab8d19d0.linkbucks.com" target="_blank"><span onMouseUp = document.getElementById("floatLayer0").style.display="none" ><img src="http://shreejiplayar.googlecode.com/svn/images/close.png"/></span></a></div>' +
        
        '        <script language="javascript" type="text/javascript" src="http://shreejiplayar.googlecode.com/svn/timer.js"></script>' +
        '        </div>' +
        '    </div>' +
        '</center>');
    document.write(add);
    i = 1;
};